package com.ruoyi.system.domain.patient;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * patientInfo对象 patient_info
 * 
 * @author sergio
 * @date 2024-11-13
 */
public class PatientInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 患者唯一标识 */
    private Long id;

    /** imId，通讯用 */
    @Excel(name = "imId，通讯用")
    private String imId;

    /** 头像地址 */
    @Excel(name = "头像地址")
    private String logoImg;

    /** 累计订单数量，默认为0 */
    @Excel(name = "累计订单数量，默认为0")
    private Long orderCount;

    /** 积分 */
    @Excel(name = "积分")
    private String points;

    /** 用户中心用户id，使用 BIGINT 类型 */
    @Excel(name = "用户中心用户id，使用 BIGINT 类型")
    private Long uid;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别(1男 2女 3其他) */
    @Excel(name = "性别(1男 2女 3其他)")
    private Integer gender;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthDate;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String idCardNumber;

    /** 婚姻状况('1已婚','2未婚','3离婚','4丧偶') */
    @Excel(name = "婚姻状况('1已婚','2未婚','3离婚','4丧偶')")
    private Long maritalStatus;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 电子邮件 */
    @Excel(name = "电子邮件")
    private String email;

    /** 通讯地址 */
    @Excel(name = "通讯地址")
    private String address;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImId(String imId) 
    {
        this.imId = imId;
    }

    public String getImId() 
    {
        return imId;
    }
    public void setLogoImg(String logoImg) 
    {
        this.logoImg = logoImg;
    }

    public String getLogoImg() 
    {
        return logoImg;
    }
    public void setOrderCount(Long orderCount) 
    {
        this.orderCount = orderCount;
    }

    public Long getOrderCount() 
    {
        return orderCount;
    }
    public void setPoints(String points) 
    {
        this.points = points;
    }

    public String getPoints() 
    {
        return points;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(Integer gender) 
    {
        this.gender = gender;
    }

    public Integer getGender() 
    {
        return gender;
    }
    public void setBirthDate(Date birthDate) 
    {
        this.birthDate = birthDate;
    }

    public Date getBirthDate() 
    {
        return birthDate;
    }
    public void setIdCardNumber(String idCardNumber) 
    {
        this.idCardNumber = idCardNumber;
    }

    public String getIdCardNumber() 
    {
        return idCardNumber;
    }
    public void setMaritalStatus(Long maritalStatus) 
    {
        this.maritalStatus = maritalStatus;
    }

    public Long getMaritalStatus() 
    {
        return maritalStatus;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imId", getImId())
            .append("logoImg", getLogoImg())
            .append("orderCount", getOrderCount())
            .append("points", getPoints())
            .append("uid", getUid())
            .append("name", getName())
            .append("gender", getGender())
            .append("birthDate", getBirthDate())
            .append("idCardNumber", getIdCardNumber())
            .append("maritalStatus", getMaritalStatus())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("address", getAddress())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createUser", getCreateUser())
            .append("updateUser", getUpdateUser())
            .toString();
    }
}
